<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>用户登录</title>

</head>
<body bgcolor="#FAFBE7">
	
	<div id="myDiv"  align="center">
	<form action="userLogin.action" method="post">
		<table>
			<tr style="color: red">
				<td colspan="3"><% if(request.getAttribute("failed") != null){%><p><%=request.getAttribute("failed") %></p><%}%></td>
			</tr>
			<tr>
				<td>用户名：</td>
				<td colspan="2"><input type="text" name="user.ofName" id="userName"/></td>
			</tr>
			<tr>
				<td>密&nbsp;&nbsp;&nbsp;码：</td>
				<td colspan="2"><input type="password" name="user.ofPassword"  id="passWord"/></td>
			</tr>
			<tr>
				<td><a href="register.jsp">注  册</a></td>
				<td><input type="submit" value=" 登   录  " style="background-color: #4A9D67;font-size: 16px"/></td>
				<td><div id="hh" style="color: red"></div></td>
			</tr>
		</table>
   	</form>
   	</div>
</body>
</html>